home *** CD-ROM | disk | FTP | other *** search
- Path: news.npiec.on.ca!freenet!afrankow
- From: afrankow@freenet (Adam Frankowski)
- Newsgroups: comp.lang.c
- Subject: [Q] how to specify binary values
- Date: 17 Mar 1996 19:52:32 GMT
- Organization: Niagara Peninsula Free-Net
- Message-ID: <4ihqi0$9mt@brain.npiec.on.ca>
- NNTP-Posting-Host: freenet.npiec.on.ca
- X-Newsreader: TIN [version 1.2 PL2]
-
-
- I need to know how to specify binary numbers I know this sounds stupid
- :^) but I dont know..
-
- I know hex is 0x02A or of the sort.. I know OCTAL
-
- i know how to do binary in asm
-
- 01010101b
-
- but can figure it our in C.. i though maybe i could have been 0x01010b
- but it didnt work...
-
- Or is this possible.. I dont want to have to AND and OR all the values
- manually :^)
-
- Please reply via E-MAIL
-
-
- --
-
- Adam Frankowski,
- E-Mail: afrankow@freenet.npiec.on.ca
-
-